<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Control variable</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Control_variable"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.math.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Control_variable rootpage-Control_variable skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Control variable</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */
.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">Not to be confused with <a href="Control_variable_(programming)" class="mw-redirect" title="Control variable (programming)">Control variable (programming)</a> or <a href="Control_variable_(statistics)" class="mw-redirect" title="Control variable (statistics)">Control variable (statistics)</a>.</div>
<p>A <b>control variable</b> (or <b>scientific constant</b>) in <a href="Scientific_experimentation" class="mw-redirect" title="Scientific experimentation">scientific experimentation</a> is an experimental element which is constant (controlled) and unchanged throughout the course of the investigation. Control variables could strongly influence experimental results were they not held constant during the experiment in order to test the relative relationship of the <a href="Dependent_and_independent_variables" title="Dependent and independent variables">dependent variable (DV) and independent variable (IV)</a>. The control variables themselves are not of primary interest to the experimenter.
</p><p>"Good controls", also known as “confounders” or “deconfounders”, are variables which are theorized to be unaffected by the treatment and which are intended to eliminate <a href="Omitted-variable_bias" title="Omitted-variable bias">omitted-variable bias</a>.<sup id="cite_ref-:0_1-0" class="reference"><a href="#cite_note-:0-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> "Bad controls", on the other hand, are variables that could be affected by the treatment, might contribute to <a href="Collider_(statistics)" title="Collider (statistics)">collider bias</a>, and lead to erroneous results.<sup id="cite_ref-:0_1-1" class="reference"><a href="#cite_note-:0-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Usage">Usage</h2></div>
<p>A variable in an experiment which is held constant in order to assess the relationship between multiple variables<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>a<span class="cite-bracket">]</span></a></sup>, is a control variable.<sup id="cite_ref-bus_3-0" class="reference"><a href="#cite_note-bus-3"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-fair_4-0" class="reference"><a href="#cite_note-fair-4"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> A control variable is an element that is not changed throughout an experiment because its unchanging state allows better understanding of the <a href="Design_of_experiments" title="Design of experiments">relationship between the other variables</a> being tested.<sup id="cite_ref-SciNote_5-0" class="reference"><a href="#cite_note-SciNote-5"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>
</p><p>In any system existing in a natural state, many variables may be interdependent, with each affecting the other. Scientific experiments test the relationship of an IV (or independent variable: that element that is manipulated by the experimenter) to the DV (or dependent variable: that element affected by the manipulation of the IV).<sup id="cite_ref-SciNote_5-1" class="reference"><a href="#cite_note-SciNote-5"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> Any additional independent variable can be a control variable.<sup id="cite_ref-bus_3-1" class="reference"><a href="#cite_note-bus-3"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>
</p><p>A control variable is an experimental condition or element that is kept the same throughout the experiment, and it is not of primary concern in the experiment, nor will it influence the outcome of the experiment.<sup id="cite_ref-fair_4-1" class="reference"><a href="#cite_note-fair-4"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> Any unexpected (e.g.: uncontrolled) change in a control variable during an experiment would invalidate the correlation of dependent variables (DV) to the independent variable (IV), thus skewing the results, and invalidating the working <a href="Hypothesis" title="Hypothesis">hypothesis</a>. This indicates the presence of a <a href="Spurious_relationship" title="Spurious relationship">spurious relationship</a> existing within experimental parameters.<sup id="cite_ref-SciNote_5-2" class="reference"><a href="#cite_note-SciNote-5"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> Unexpected results may result from the presence of a <a href="Confounding_variable" class="mw-redirect" title="Confounding variable">confounding variable</a>, thus requiring a re-working of the initial experimental hypothesis. Confounding variables are a threat to the <a href="Internal_validity" title="Internal validity">internal validity</a> of an experiment.<sup id="cite_ref-Shad2002_6-0" class="reference"><a href="#cite_note-Shad2002-6"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-SciNote_5-3" class="reference"><a href="#cite_note-SciNote-5"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> This situation may be resolved by first identifying the confounding variable and then redesigning the experiment taking that information into consideration. One way to this is to control the confounding variable, thus making it a control variable. If, however, the spurious relationship cannot be identified, the working hypothesis may have to be abandoned.<sup id="cite_ref-SciNote_5-4" class="reference"><a href="#cite_note-SciNote-5"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Shad2002_6-1" class="reference"><a href="#cite_note-Shad2002-6"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Experimental_examples">Experimental examples</h2></div>
<p>Take, for example, the well known <a href="Combined_gas_law" class="mw-redirect" title="Combined gas law">combined gas law</a>, which is stated mathematically as:
</p>
<dl><dd><span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \qquad {\frac {PV}{T}}=k}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mspace width="2em"></mspace>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mrow>
<mi>P</mi>
<mi>V</mi>
</mrow>
<mi>T</mi>
</mfrac>
</mrow>
<mo>=</mo>
<mi>k</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \qquad {\frac {PV}{T}}=k}</annotation>
</semantics>
</math></span><img src="./34811d842a17b03e5052fd816e992f0617b9f4c8.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.838ex; width:13.324ex; height:5.176ex;" alt="{\displaystyle \qquad {\frac {PV}{T}}=k}" loading="lazy"></span></dd></dl>
<p>where:
</p>
<dl><dd><span class="texhtml"><i>P</i></span> is the <a href="Pressure" title="Pressure">pressure</a></dd>
<dd><span class="texhtml"><i>V</i></span> is the <a href="Volume" title="Volume">volume</a></dd>
<dd><span class="texhtml"><i>T</i></span> is the <a href="Thermodynamic_temperature" title="Thermodynamic temperature">thermodynamic temperature</a> measured in <a href="Kelvin" title="Kelvin">kelvins</a></dd>
<dd><span class="texhtml"><i>k</i></span> is a constant (with units of energy divided by temperature).</dd></dl>
<dl><dd>which shows that the ratio between the pressure-volume product and the temperature of a system remains constant.</dd></dl>
<p>In an experimental verification of parts of the combined gas law, (<span class="texhtml"><i>P</i></span> * <span class="texhtml"><i>V</i></span> = <span class="texhtml"><i>T</i></span>), where Pressure, Temperature, and Volume are all variables, to test the resultant changes to any of these variables requires at least one to be kept constant.<sup id="cite_ref-fair_4-2" class="reference"><a href="#cite_note-fair-4"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> This is in order to see <i>comparable experimental results</i> in the remaining variables.
</p><p>If Temperature is made the control variable and it is not allowed to change throughout the course of the experiment, the relationship between the dependent variables, Pressure, and Volume, can quickly be established by changing the value for one or the other, and this is <a href="Boyle's_law" title="Boyle's law">Boyle's law</a>. For instance, if the Pressure is raised then the Volume must decrease.
</p><p>If, however, Volume is made the control variable and it is not allowed to change throughout the course of the experiment, the relationship between dependent variables, Pressure, and Temperature, can quickly be established by changing the value for one or the other, and this is <a href="Gay-Lussac's_law" title="Gay-Lussac's law">Gay-Lussac's law</a>. For instance, if the Pressure is raised then the Temperature must increase.
</p>
<div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist reflist-lower-alpha">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text">usually two other variables are being tested, but it is possible that more will be involved.</span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-:0-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-:0_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-:0_1-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFCinelliForneyPearl2024" class="citation journal cs1">Cinelli, Carlos; Forney, Andrew; Pearl, Judea (2024). <span class="id-lock-subscription" title="Paid subscription required"><a rel="nofollow" class="external text" href="https://journals.sagepub.com/doi/10.1177/00491241221099552">"A Crash Course in Good and Bad Controls"</a></span>. <i>Sociological Methods & Research</i>. <b>53</b> (3): <span class="nowrap">1071–</span>1104. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1177%2F00491241221099552">10.1177/00491241221099552</a>. <a href="ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a> <a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0049-1241">0049-1241</a>.</cite></span>
</li>
<li id="cite_note-bus-3"><span class="mw-cite-backlink">^ <a href="#cite_ref-bus_3-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-bus_3-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://www.businessdictionary.com/definition/control-variable.html"><i>control variable</i></a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20160327053739/http://www.businessdictionary.com/definition/control-variable.html">Archived</a> 2016-03-27 at the <a href="Wayback_Machine" title="Wayback Machine">Wayback Machine</a>; Business Dictionary online; retrieved September 2015</span>
</li>
<li id="cite_note-fair-4"><span class="mw-cite-backlink">^ <a href="#cite_ref-fair_4-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-fair_4-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-fair_4-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://www.sciencebuddies.org/science-fair-projects/project_variables.shtml"><i>Definitions</i></a>; Science Buddies – Science Fair Projects.</span>
</li>
<li id="cite_note-SciNote-5"><span class="mw-cite-backlink">^ <a href="#cite_ref-SciNote_5-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-SciNote_5-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-SciNote_5-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-SciNote_5-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-SciNote_5-4"><sup><i><b>e</b></i></sup></a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://sciencenotes.org/what-is-a-control-variable-definition-and-examples/"><i>Control Variable Definition and Examples</i></a>; WebPage; May 2021; Helmenstine, Anne; Science Notes : Learn Science : Do Science; retrieved November 2022;</span>
</li>
<li id="cite_note-Shad2002-6"><span class="mw-cite-backlink">^ <a href="#cite_ref-Shad2002_6-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Shad2002_6-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFShadishCookCampbell2002" class="citation book cs1">Shadish, W. R.; Cook, T. D.; Campbell, D. T. (2002). <i>Experimental and quasi-experimental designs for generalized causal inference</i>. Boston, MA: <a href="Houghton_Mifflin" class="mw-redirect" title="Houghton Mifflin">Houghton Mifflin</a>.</cite></span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><a rel="nofollow" class="external text" href="http://www.sciencebuddies.org/science-fair-projects/project_variables.shtml"><i>Definitions</i></a>; Science Buddies – Science Fair Projects.</li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-05-24" href="https://en.wikipedia.org/wiki/?title=Control_variable&oldid=1291956069">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>